<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    <p>
        <label for="{{ form_obj.username.id_for_label }}">{{ form_obj.username.label }}</label>
        {{ form_obj.username }}  <span>{{ form_obj.username.errors.0 }}</span>
    </p>
    <p>
        <label for="{{ form_obj.name.id_for_label }}">{{ form_obj.name.label }}</label>
        {{ form_obj.name }}  <span>{{ form_obj.name.errors.0 }}</span>
    </p>
    <p>
        <label for="{{ form_obj.phone.id_for_label }}">{{ form_obj.phone.label }}</label>
        {{ form_obj.phone }}  <span>{{ form_obj.phone.errors.0 }}</span>
    </p>

    <button>提交</button>
</form>

</body>
</html>